package com.qiaomengapp.service;

import java.util.List;
import com.qiaomengapp.bean.Shop;
import com.qiaomengapp.bean.ShopWarp;
import com.qiaomengapp.exception.CustomException;

public interface IShopService {
	Shop select_ShopById(int id) throws CustomException;
	
	double select_sum_commission(int id) throws CustomException;
	
	double select_able_commission(int id) throws CustomException;
	
	void update_sum_addCommission(double sum, double id) throws CustomException;
	
	void update_sum_reduceCommission(double sum, double id) throws CustomException;
	
	void update_able_addcommission(double value, double id) throws CustomException;
	
	void update_able_reduceCommission(double sum, double id) throws CustomException;
	
	ShopWarp select_shopByIdForSee(int id) throws CustomException;
	
	ShopWarp select_shopByUid(int uid) throws CustomException;
	
	List<ShopWarp> select_shopByShopName(String shopName)throws CustomException;
}
